Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DataStream Class / ReadRange Method / ReadRange<T>(Int32) Method
The type of the values to be read from the stream.

In This Topic
    ReadRange<T>(Int32) Method
    In This Topic
    Reads an array of values from the current stream, and advances the current position within this stream by the number of bytes written.
    Syntax
    'Declaration
     
    Public Overloads Function ReadRange(Of T As {New, Struct})( _
       ByVal count As System.Integer _
    ) As T()
    public T[] ReadRange<T>( 
       System.int count
    )
    where T: new(), struct

    Parameters

    count

    Type Parameters

    T
    The type of the values to be read from the stream.

    Return Value

    An array of values that was read from the current stream.
    Remarks
    In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
    See Also